#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>

typedef struct _PolyNode {
	int coef;
	int expon;
}PolyNode;

#define ElementType PolyNode
#include "LinkedList.h"

static void print_list(List list) {
	while (list) {
		printf("%d %d ", list->data.coef, list->data.expon);
	}
	printf("\n");
}


void test_me() {
	List list = linked_list_create({ 1,1 }, NULL);
	print_list(list);
	linked_list_free(list);
}